﻿using nplJobsCommon.Common;
using nplJobsCommon.JobSeeker;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace nplJobsDAL.Select
{
    public class ProcessSelectJobByJobAlert
    {
        public DataTable Skill { get; set; }
        public int SalaryID { get; set; }
        public int JobCategoryID { get; set; }
        public int JobTypeID { get; set; }
        public List<JobToDisplay> JobToDisplay { get; set; }
        public int LocationID { get; set; }


        public void invoke()
        {
            SelectJobByJobAlert jobs = new SelectJobByJobAlert();
            jobs.JobCategoryID = this.JobCategoryID;
            jobs.JobTypeID = this.JobTypeID;
            jobs.SalaryID = this.SalaryID;
            jobs.Skill = this.Skill;
            jobs.LocationID = this.LocationID;
            this.JobToDisplay = jobs.GetJobs();
        }
    }
}
